package com.hyt.it.ogt.ykcj.domain.exam;


import com.hyt.it.ogt.ykcj.common.annotation.Excel;
import com.hyt.it.ogt.ykcj.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 企业招聘分数线设置对象 enterprise_exam_score_line_setting
 *
 * @author liying
 * @date 2021-11-18
 */
public class EnterpriseExamScoreLineSetting extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * ID
     */
    @ApiModelProperty(value = "ID")
    private String id;

    /**
     * 考试id
     */
    @ApiModelProperty(value = "考试ID")
    @Excel(name = "考试id")
    private String examId;

    /**
     * 成绩分数线
     */
    @ApiModelProperty(value = "是否复合分数线(0:单科 1:复合 2:区间)")
    @Excel(name = "成绩分数线类型")
    private String composite;

    /**
     * 成绩分数线
     */
    @ApiModelProperty(value = "成绩分分数线维度(0:考试 1:科目)")
    @Excel(name = "分数线维度")
    private String dimension;

    public String getDimension() {
        return dimension;
    }

    public void setDimension(String dimension) {
        this.dimension = dimension;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getId() {
        return id;
    }

    public void setExamId(String examId) {
        this.examId = examId;
    }

    public String getExamId() {
        return examId;
    }

    public String getComposite() {
        return composite;
    }

    public void setComposite(String composite) {
        this.composite = composite;
    }


    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("examId", getExamId())
                .append("composite", getComposite())
                .append("createTime", getCreateTime())
                .append("createBy", getCreateBy())
                .append("updateTime", getUpdateTime())
                .append("updateBy", getUpdateBy())
                .append("dimension", getDimension())
                .toString();
    }
}

